
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 TmsStoreGroup 分页列表
*/
export function getTmsStoreGroupPagination(data: any) {
  return axios.get(`${context}/tmsStoreGroup/pagination`, { params: data });
}


/**
 * 获取 TmsStoreGroup 所有数据
*/
export function getTmsStoreGroupAllList(data: any) {
  return axios.get(`${context}/tmsStoreGroup/all`, { params: data });
}


/**
 * 获取 TmsStoreGroup 详情
*/
export function getTmsStoreGroupDetailById(id: any) {
  return axios.get(`${context}/tmsStoreGroup/${id}`, { params:{id} });
}


/**
 * 新增 TmsStoreGroup
*/
export function addTmsStoreGroup(data: any) {
  return axios.post(`${context}/tmsStoreGroup`, data);
}

/**
 * 修改 TmsStoreGroup
*/
export function updateTmsStoreGroup(data: any) {
  return axios.put(`${context}/tmsStoreGroup`, data);
}

/**
 * 删除 TmsStoreGroup
*/
export function batchRemoveTmsStoreGroup(data: any) {
  return axios.post(`${context}/tmsStoreGroup/batchRemove`, data);
}

    